Add OSD_STATE_GROUP_ELEMENTS state to osdUpdate() and optimise DMA vs polled MAX7456...
[betaflight.git] / docs / boards / Board - RMDO.md
blob91806afc1a8a8a98277af7233f490571d752a28b
1 # Board - RMRC Dodo
3 The RMRC Dodo board is made and sold by Ready Made RC. In terms of CPU pin mapping it is a clone of the SPRacingF3 board (also see the SPRacingF3 documentation). Currently there are three versions with slightly different hardware available: Rev. 1, 2, and 3.
5 The revision 3 board changed the CPU from one with 128KB to one with 256KB however, for compatibility reasons, Cleanflight only supports and uses 128KB of it.  The same binary can be used on all DODO boards.
7 ## Hardware Features
9 * STM32 F3 ARM Cortex-M processor with 128KB or 256KB flash program memory (Rev. 1 and 2: 128KB flash, Rev 3 256K).
10 * 2MB external flash memory for storage.
11 * MPU6050 accelerometer/gyro (Rev. 2: MPU6000)
12 * BMP280 Barometer
13 * No compass sensor.
14 * 3 hardware UARTs (+ 2 software) for GPS, telemetry, OSD, etc., 5V compatible
15 * On-board 5V/0.5A BEC directly powered off 2-6S main battery pack. No external BEC/regulator necessary.
16 * On-board 3.3V regulator to power peripherials like Spektrum satellite receiver.
17 * 36x36mm board with 30.5mm mounting holes pattern (same as CC3D or Naze32, but different pin-out).
19 Note: Earlier revisions had issues with the buzzer circuit. 
21 ## Serial Ports
23 | Name  | RX (Board) | TX (Board) | RX (MCU) | TX (MCU) | Notes                                        |
24 |:-----:|:----------:|:----------:|:--------:|:--------:|----------------------------------------------|
25 | UART1 | U1RX       | U1TX       | PA10     | PA9      | Shared with USB connection                   |
26 | UART2 | U2RX       | U2TX/SWCLK | PA15     | PA14     | Shared with SWD                              |
27 | UART3 | U3RX/3     | U3TX/4     | PB11     | PB10     | RX also connected to Spektrum satellite port |
29 ## Pinouts
31 ### Starboard (Front to back)
33 | Label                  | Notes                                   |
34 |:----------------------:|:---------------------------------------:|
35 | RC_IN_8/SOFTSERIAL2_TX | RC8 ppm input or soft-serial 2 transmit |
36 | RC_IN_7/SOFTSERIAL2_RX | RC7 ppm input or soft-serial 2 receive  |
37 | RC_IN_6/SOFTSERIAL1_TX | RC6 ppm input or soft-serial 1 transmit |
38 | RC_IN_5/SOFTSERIAL1_RX | RC5 ppm input or soft-serial 2 receive  |
39 | RC_IN_4/U3TX           | RC4 ppm input or UART3 transmit         |
40 | RC_IN_3/U3RX           | RC3 ppm input or UART3 receive          |
41 | RC_IN_2                | RC2 ppm input                           |
42 | RC_IN_1/PPM IN         | RC1 ppm input or SUM/CPPM               |
43 | 5V                     | 5V bus                                  |
44 | GND                    | Ground                                  |
46 ### Back (Left to right)
48 | Label              | Notes                                |
49 |:------------------:|:------------------------------------:|
50 | SPEKTRUM_VCC/3V3   | 3.3V output                          |
51 | SPEKTRUM_GND/GND   | Ground                               |
52 | SPEKTRUM_DATA/U3RX | UART3 receive                        |
53 | USB                | Micro USB socket                     |
54 | BAT+               | Main battery (2S - 6S) positive lead |
55 | GND/BAT-           | Main battery negative lead           |
57 ### Front (Left to right)
59 | Label       | Notes                                                             |
60 |:-----------:|:-----------------------------------------------------------------:|
61 | BZ_5V/BZ+   | 5V, connect to positive (+) terminal of buzzer                    |
62 | BZ_OC/BZ-   | Open-collector output, connect to negative (-) terminal of buzzer |
63 | RC_OUT_1    | ESC 1 output (rear, starboard, CW on quad)                        | 
64 | RC_OUT_2    | ESC 2 output (front, starboard, CCW on quad)                      |
65 | RC_OUT_3    | ESC 3 output (front, port, CW on quad)                            |
66 | RC_OUT_4    | ESC 4 output (rear, port, CCW on quad)                            |
67 | RC_OUT_5    | PPM output 5                                                      |
68 | RC_OUT_6    | PPM output 6                                                      |
69 | RC_OUT_7    | PPM output 7                                                      |
70 | RC_OUT_8    | PPM output 8                                                      |
71 | LED_OUT     | WS2811 led output                                                 |
72 | LED_GND/GND | Ground                                                            |
74 ### Starboard (Front to back)
76 | Label      | Column  | Notes                                                   |
77 |:----------:|:-------:|:-------------------------------------------------------:|
78 | GND        | Outside | Ground                                                  |
79 | U1TX       | Outside | UART1 transmit (1)                                      |
80 | U1RX       | Outside | UART1 receive (1)                                       |
81 | 5V         | Outside | 5V bus                                                  |
82 | 3V3        | Outside | 3.3V output (2)                                         |
83 | GND        | Inside  | Ground                                                  |
84 | SDA        | Inside  | I2C data                                                |
85 | SCL        | Inside  | I2C clock                                               |
86 | 3V3        | Inside  | 3.3V output                                             |
87 | PPM_RSSI   | Inside  | Low-pass filtered PPM-style RSSI input (FrSky or EzUHF) |
88 | U2RX       | Outside | UART2 receive                                           |
89 | U2TX/SWCLK | Outside | UART2 transmit or SWD clock                             |
90 | SWDIO      | Outside | SWD input/output                                        |
91 | GND        | Outside | Ground                                                  |
93 1. Shared with USB.
94 2. Can be used to power external low-power devices like Spektrum satellite receiver.
96 ### Top pads
98 | Label | Notes                                                        |
99 |:-----:|:------------------------------------------------------------:|
100 | CURR  | Current sensor ADC input, unbuffered                         |
101 | RSSI  | RSSI ADC input, unbuffered. Use PPM_RSSI for filtered input. |
102 | BOOT  | BOOT jumper for recovering a bricked boot loader             |
104 ### Bottom pads
106 | Label | Notes                                                                   |
107 |:-----:|:------------------------------------------------------------------------|
108 | TRIG  | Trigger for sonar (on-board 1kOhm series resistor for 5V compatibility) |
109 | ECHO  | Echo for sonar (on-board 1kOhm series resistor for 5V compatibility)    |